from scapy.all import *
ans,unans=srp(Ether(dst="ff:ff:ff:ff:ff:ff")/ARP(pdst="192.168.1.0/24"),timeout=2)

for snd,rev in ans:
    print(rev.sprintf("IP:%ARP.psrc%  \t--   MAC:%Ether.src%"))